package com.huadi.bili_hot.service;

import com.huadi.bili_hot.dao.mapper.ToprankMapper;
import com.huadi.bili_hot.entity.Toprank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ToprankServiceImpl implements ToprankService {
    @Autowired
    private ToprankMapper toprankMapper;

    @Override
    public List<Toprank> getBangumiList() {
        return toprankMapper.selectBangumiList();
    }

    @Override
    public List<Toprank> getMovieList() {
        return toprankMapper.selectMovieList();
    }

    @Override
    public List<Toprank> getTvseriesList() {
        return toprankMapper.selectTvseriesList();
    }

    @Override
    public List<Toprank> getHostList() {
        return toprankMapper.selectHostList();
    }
}
